package com.ifreeee.practice.bean;

import lombok.Getter;
//import org.springframework.beans.factory.annotation.Autowired;
import org.springframework.beans.factory.annotation.Lookup;
//import org.springframework.context.annotation.Profile;
//import org.springframework.context.annotation.Scope;
import org.springframework.stereotype.Component;
//
//// 调整 A 方法注入 B
@Component("a")
//@Scope("singleton")
//@Getter
//@Profile("beta")
public abstract class A {

    //@Autowired
    //private B b;

    @Lookup("b")
    public abstract B getB();

}
